/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.q3and4.interfacesegregationprin.model.obey;

/**
 *
 * @author user
 */
public class Mantainance {

    WorkableInterface worker;
    
    public void setWorker(WorkableInterface w) {
        this.worker = w;
    }
    
    public void mantainer(String s){
        worker.work(s);
    }
    
}
